<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>分类商品</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/classify/classifyProduct.css">
</head>

<body>
    <div class="layout">
        <div class="header"><span></span>
            <div class="backArrow"></div>
        </div>
        <div class="classifyPic"><img src="" alt=""></div>
        <div class="sortBtn">
            <ul>
                <li><a href="javascript:void(0);" class="goodbtn sBtn actived" index=1>按好评</a></li>
                <li><a href="javascript:void(0);" class="sellBtn sBtn" index=2>按销量</a></li>
                <li><a href="javascript:void(0);" class="priceBtn sBtn" index=3>按价格</a></li>
            </ul>
        </div>
        <div class="productList clearfix">
            <div class="productItemBox">
                <!-- 动态渲染 -->
            </div>
            <div class="end"><img src="../../static/img/theend@3x.png" alt=""></div>
        </div>
    </div>
    <script type="text/template" id="productItemBox">
        <div class="productItemBox">
            {{each productList as item index}}
            <div class="productItem" data-id={{item.id}}>
                <div class="productPic"><img src="{{item.midPic}}" alt=""></div>
                <div class="productName">{{item.productName}}</div>
                <div class="price">¥ {{item.price}}</div>
                <div class="like"><span>{{item.love}}</span>人喜欢</div>
            </div>
            {{/each}}
        </div>
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/assets/pullmaster/pull.min.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/config/tools.js"></script>
    <script src="../../static/js/classify/classifyProduct.js"></script>
</body>

</html>